﻿// Copyright 2023 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE

using System;
using System.Linq;
using JetBrains.Annotations;

namespace Nuke.Common.CI.AzurePipelines;

[PublicAPI]
public enum AzurePipelinesRepositoryType
{
    /// <summary>
    /// <a href="https://docs.microsoft.com/en-us/azure/devops/repos/git/overview?view=azure-devops">Azure DevOps Git repository</a>.
    /// </summary>
    AzureRepos,

    /// <summary>
    /// <a href="https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/overview?view=azure-devops">Team Foundation Version Control</a>.
    /// </summary>
    TfsVersionControl,

    /// <summary>
    /// Git repository hosted on an external server.
    /// </summary>
    Git,

    /// <summary>
    /// Git repository hosted on GitHub.
    /// </summary>
    GitHub,

    /// <summary>
    /// Subversion.
    /// </summary>
    Svn,

    TfsGit
}
